import http from './index'
//用户登入
export const onLogin = (params) => {
  return http.fetchPost('/user/login', params)
}

// methods: {
//         onLogin({username,upwd,}).then(res => {
//         })